﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using TaiLieu;

public partial class search_content : System.Web.UI.UserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {
        switch (QueryHelper.Get_Value(Request, 2))
        {
            case "ket-qua-tim-kiem":
                LoadControlCenter("result.ascx");
                break;
            case "advance-search":
                LoadControlCenter("advance-search.ascx");
                break;
        }
    }
    protected void LoadControlCenter(string path)
    {
        this.pnSearch.Controls.Clear();
        this.pnSearch.Controls.Add(LoadControl(path));
    }
    
}